const express = require( 'express' );
const app = express();
app.get( '/', function ( req, res ) { 
    res.send('<h3>你好</h3>')
} );
app.post( '/', function ( req, res ) { 
    res.send( 'post' );
} )
app.put( '/', function ( req, res ) { 
    res.send( 'put' );
} )
app.delete( '/', function ( req, res ) { 
    res.send( 'delete' );
})




app.listen( 8080 );